import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
import router from '@/router'
import ElementPlus from 'element-plus'
import "element-plus/dist/index.css"
import "@/assets/icon/iconfont.css"
import "@/assets/base.scss"

import Window from '@/components/Window.vue'
import EditorMarkdown from '@/components/EditorMarkdown.vue'
import EditorHtml from '@/components/EditorHtml.vue'
import CoverUpload from '@/components/CoverUpload.vue'
import Cover from '@/components/Cover.vue'
import BlogItem from '@/components/BlogItem.vue'
import CategoryItem from '@/components/CategoryItem.vue'
import Comment from '@/components/Comment.vue'
import CategoryWeb from '@/components/CategoryWeb.vue'
import UserItem from '@/components/UserItem.vue'
import SpecialItem from '@/components/SpecialItem.vue'
import Reply from '@/components/Reply.vue'

const app = createApp(App);
app.use(router);
app.use(ElementPlus)


app.component("Window", Window)
app.component("EditorMarkdown", EditorMarkdown)
app.component("EditorHtml", EditorHtml)
app.component("CoverUpload", CoverUpload)
app.component("Cover", Cover)
app.component("BlogItem", BlogItem)
app.component("CategoryItem", CategoryItem)
app.component("Comment", Comment)
app.component("CategoryWeb", CategoryWeb)
app.component("UserItem", UserItem)
app.component("SpecialItem", SpecialItem)
app.component("Reply", Reply)
app.mount('#app')

